package com.usain;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@MapperScan("com.usain.mapper")
//@EntityScan(basePackages = "com.usain.pojo")
public class ApplicationApp {
    /**
     * SpringBoot启动类
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(ApplicationApp.class,args);
    }
}
